package com.wthink.newMain.view.changeLine

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class FixLineDialogViewmodel :ViewModel(){

    val fixList =  MutableLiveData(emptyList<String>())

    fun start() {
        var array: Array<String> = arrayOf(
            "请求排班", "请求交班", "请求加油", "请求加气", "请求充电", "请求维修", "请求包车", "其他请求", "退出运营", "手动开始", "手动结束"
        )

        val arrayList = ArrayList<String>()
        for (item in array) {
            arrayList.add(item)
        }

        fixList.postValue(arrayList)
    }

}